package com.bblocks.common.anti_reptile.config.bean;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Bean;

/**
 * <p>Project: bb-anti-reptile - Es</p>
 * <p>描述：es配置</p>
 *
 * @Author Zhao [125043150@qq.com]
 * @Date 2024/3/26 18:27
 * @Version 1.0
 * @since 8
 */
@Data
public class Es {

    /**
     * 主机地址
     */
    private String host;

    /**
     * 端口-默认9200
     */
    private int port = 9200;
    /**
     * 用户名(可以为空)
     */
    private String username;
    /**
     *密码(可以为空)
     */
    private String password;

}
